package com.kgc.server.dao;

import com.kgc.server.pojo.EasybuyOrderDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EasybuyOrderDetailDao {

    /**
     * 添加订单详情
     */
    public int addDetail(EasybuyOrderDetail easybuyOrderDetail);

    /**
     * 删除订单详情
     */
    public int delDetailByOrderId(String orderId);

    /**
     * 获取订单详情
     */
    public List<EasybuyOrderDetail> getDetails(String orderId);

}
